#include <iostream>
#include <string>

using namespace std;

struct Student {
    string name;
    int age;
    int score;
};

struct teacher {
    int id;
    string name;
    int age;
    Student stu;
};

int main() {
    struct teacher t1 = {1001, "Tom", 30, {"Jerry", 20, 90}};
    cout << "t1.id = " << t1.id << endl;
    cout << "t1.name = " << t1.name << endl;
    cout << "t1.age = " << t1.age << endl;
    cout << "t1.stu.name = " << t1.stu.name << endl;
    cout << "t1.stu.age = " << t1.stu.age << endl;
    cout << "t1.stu.score = " << t1.stu.score << endl;


    return 0;
}